package org.jeecg.chase.modules.adhuser.service.impl;

import org.jeecg.chase.modules.adhuser.entity.AdhUser;
import org.jeecg.chase.modules.adhuser.mapper.AdhUserMapper;
import org.jeecg.chase.modules.adhuser.service.IAdhUserService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 会员管理
 * @Author: jeecg-boot
 * @Date:   2022-02-13
 * @Version: V1.0
 */
@Service
public class AdhUserServiceImpl extends ServiceImpl<AdhUserMapper, AdhUser> implements IAdhUserService {
    @Override
    public AdhUser getUserInfoByPhoneNumber( String phoneNumber){
        return this.baseMapper.getUserInfoByPhoneNumber(phoneNumber);
    }
    @Override
    public AdhUser getUserInfoByOpenId( String openId){
        return this.baseMapper.getUserInfoByOpenId(openId);
    }
}
